What’s Git?
Git is a distributed, version-control-system (VCS) for tracking changes in source code.
It was created by Linus Torvalds (= creator of Linux) to manage the Linux Kernel source code.
What’s Github?
GitHub allows you to host your content (probably source code) on the internet, allowing you to manage it using Git.
So, Git is the tool that allows you to manage several versions of a software;
GitHub gives you a website where you can post your work online, and manage it using Git.
What’s in it for you?
>> Answer
>> Source Code
We’ll learn markdown syntax while looking at our output side by side.
We will write our content in a README.md file.
Insert all files, images, … as links within this file.
[README.md (output)] [Webpage]
Using what we’ve learnt so for, create a Test project.
[Start]
Later On
For reference, [README.md] & [Final Webpage]
What are Soft & Hard Resets?
A Soft Reset resets your local copy of the project to a previous version.
A Hard Reset resets your online copy of the project to a previous version (after executing git push).
git reset --soft 0ad5a7a6
git reset --hard 0ad5a7a6
When to use Soft & Hard Resets?
A Soft Reset is useful when you want to build on top of a previous version, starting from the current version. You do not delete any previous versions.
A Hard Reset is useful when you want to delete all modifications beyond a certain version, and want to build on from this version only.